package com.konke.sdslibrary.event;

/**
 * Created by L on 2016/12/15.
 */

public class KonkeLockSwitchPushEvent extends SmartHomeEvent {

    private int deviceId;
    private boolean on;


    public KonkeLockSwitchPushEvent(String ccuId, int deviceId,boolean on) {
        super(ccuId);
        this.deviceId = deviceId;
        this.on = on;
    }

    public boolean isOn() {
        return on;
    }


    public int getDeviceId() {
        return deviceId;
    }
}
